package com.nbot.server.service;

import com.nbot.server.domain.AlarmDO;

import java.util.List;
import java.util.Map;

/**
 * @author nbot
 * @email nbot@163.com
 * @date 2018-07-07 20:27:29
 */
public interface AlarmService {

    AlarmDO get(String ioservername);

    List<AlarmDO> list(Map<String, Object> map);

    int count(Map<String, Object> map);

    int save(AlarmDO alarm);

    int update(AlarmDO alarm);

    int remove(String ioservername);

    int batchRemove(String[] ioservernames);
}
